package day02.work02;

public class Manager extends Employee{
    private int salary;

    public Manager(){}
    public Manager(String name,String sex,String birthday,int salary){
        super(name,sex,birthday);
        this.salary=salary;
    }
    public int getSalary() {
        return salary;
    }
    public void setSalary(int salary) {
        this.salary = salary;
    }

    public void computeSalary(){
        System.out.println(super.getName()+"经理的工资是："+salary);
    }
}
